package com.fh.test.spring.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by tuliang on 2018/3/20.
 */
@Controller
public class HelloController {
	@RequestMapping("/hello")
	@ResponseBody
	public String hello(String name) {
		//String welcome = userService.sayHi(name);
		String welcome = "hello";
		//System.out.println("Hello");
		return welcome;
	}
}
